#pragma once
/**
 * @file social_distance_log.h
 * @author James Wang (woodsking2@hotmail.com)
 * @brief 
 * @version 0.1
 * @date 2020-07-27
 * 
 * Copyright (c) 2020 Walnutin Technology Company Limited. All Rights Reserved.
 * 
 */
#ifdef SOCIAL_DISTANCE
#include "distance_estimate.h"
typedef struct __social_distance_log_param
{
    uint8_t name[BLE_DEVICE_NAME_LEN];
    ble_gap_addr_t addr;
    uint32_t rtc;
} social_distance_log_param;
void social_distance_log_initialize(void);
void social_distance_log_add(social_distance_log_param const *param);
void social_distance_log_decode(int cmd, const uint8_t *data, uint32_t data_len);
#endif // SOCIAL_DISTANCE
